package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Issue {
    private Integer id;

    private String question;

    private String answer;

    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date addTime;

    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Boolean deleted;

}
